<%@page import="entlty.Users"%>
<%@page import="java.util.List"%>
<%@page import="daoImpl.UserDaoImpl"%>
<%@page import="dao.UsersDao"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<title>Insert title here</title>
</head>
<link rel="stylesheet" type="text/css" href="css/登录后页头.css"/>

<link rel="stylesheet" type="text/css" href="css/页头.css"/>
<script src="js/jquery-1.12.4.js" type="text/javascript"></script>
		
<body>
<% UsersDao u=new UserDaoImpl();
	List<Users> list=u.getzh();
	%>
<div class="div">

			<!--上-->
			<div class="shang">
				<div class="shang1">
					<ul>
						<li onclick="aa()">醉品茶城首页</li>
						<li>OMO体验店加盟</li>
						<li>
							醉品茶城手机版
						<div>
							<img src="img/页头/二维码.png" width="120px"/>
							<p>手机登录购买</p>
						</div>
						</li>
					</ul>
				</div>
				<div class="shang2">	
				<script type="text/javascript">
				
						function dl(){
							open("Denglu.jsp");
						}
					</script>
				
					<ul>
			
					<%for(Users uu:list){ %>
					<%if(uu.getUname()!=null){ %>
					
						<li>						
							我的账户
							
							<div>
								<dl>
									<dt><img src="img/页头/人.png" width="40px"/></dt>
									<dd ><%=uu.getUname() %></dd>
									
								</dl>
								<p class="tuichu">退出</p>
								<p class="dingdan">
									<span>我的订单</span>
									<span>我的红包</span><br />
									<span>积分记录</span>
									<span>账户余额</span>
								</p>
							</div>
				
						</li>
					<%}else{%>
					
					<%} %>
					<%} %>
						<li>我的订单</li>
						<li>帮助中心</li>
						<script type="text/javascript">
							function gy(){
								open("资本加持.html");
							}
						</script>
						<li onclick="gy()">关于醉品</li>
						<li>4006-066-068</li>
						<li onclick="gw()"> <img src="img/页头/购物车橙.png"/> 购物车</li>
					</ul>
				</div>
			</div>
			
			<!--中-->
			<div class="zhong">
				<div class="zhong1">
					<a href="首页.html"><img src="img/页头/2019新茶上市-首页gif-3.gif" onclick="aa()"/></a>
				</div>
				<div class="zhong2">
					
				<form action="Sousuo" method="post">
					<input type="text" size="75px" name="sousuo" />
			
					<input type="submit"  class="sou" value=" ">
					
					</form>
					<p>
						<a href="">白茶</a>
						<a href="">广东单枞</a>
						<a href="">龙井</a>
						<a href="">金骏眉</a>
						<a href="">普洱</a>
					</p>
				</div>
				<div class="zhong3">
					<dl>
						<dt><img src="img/页头/90.png"/></dt>
						<dd>全场商品<br />90天保价</dd>
					</dl>
					<dl>
						<dt><img src="img/页头/免.png"/></dt>
						<dd>满59元免<br />邮费</dd>
					</dl>
					<dl>
						<dt><img src="img/页头/钱包.png"/></dt>
						<dd>2000城市<br />货到付款</dd>
					</dl>
				</div>
				<div class="zhong4">
					<img src="img/页头/二维码.jpg" width="75px"/><br />
					手机登录购买
				</div>
			</div>
			<div class="fen">
				<h3>全部商品分类</h3>
				<script type="text/javascript">
					function bb(){
						open("品牌集成馆.html");
					}
				</script>
				<ul>
					<li onclick="bb()"><a href="">品牌集成馆</a></li>
					<li><a href="">大师名匠馆</a></li>
					<li><a href="">线下OMO体验店</a></li>
					<li><a href="">积分商城</a></li>
					<li><a href="">茶礼定制</a></li>
				</ul>
			</div>
		</div>
		
</body>
</html>